//
//  BLUIButton.swift
//  yiplayer
//
//  Created by wkun on 2024/6/6.
//

import UIKit

class BLUIButton: UIButton {

    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */
    
    public var layoutBlock:((CGSize,UIButton)->Void)?
    
    public override func layoutSubviews() {
        super.layoutSubviews()
        
        layoutBlock?(self.frame.size,self)
    }

}
